package lab02.test14;

public class Rectangle extends Shape {

    //属性长、宽


    double lenght;
    double width;
    double area;


    //方法：面积


    @Override
    double  getArea() {return width*lenght;
    }
}
